gtk4.git
12 years agoImprove doc of gtk_text_tag_table_remove()
Sébastien Wilmet [Mon, 5 Aug 2013 18:37:54 +0000 (20:37 +0200)]
Improve doc of gtk_text_tag_table_remove()

It's obvious, but it's better to say it.

https://bugzilla.gnome.org/show_bug.cgi?id=705529

12 years agogtkdnd: Use RGBA windows when dragging if possible
Alexander Larsson [Mon, 5 Aug 2013 14:49:18 +0000 (16:49 +0200)]
gtkdnd: Use RGBA windows when dragging if possible

If we have rgba visuals and a composited screen we should
just use a RGBA window rather than shaped windows.

12 years agocss: Inherit device scale in _gtk_css_image_get_surface
Alexander Larsson [Mon, 5 Aug 2013 14:11:18 +0000 (16:11 +0200)]
css: Inherit device scale in _gtk_css_image_get_surface

To handle hidpi support we need to make sure we don't
downscale scaled css images.

Note: If cairo_surface_create_similar starts doing this
by itself we need to back this out.

12 years agoAdd autoscroll when dragging past boundary of range
William Jon McCann [Mon, 29 Jul 2013 16:06:20 +0000 (12:06 -0400)]
Add autoscroll when dragging past boundary of range

A problem with the zoom scroll mode is that you have to restart
if you hit the bottom of the screen before you hit the bottom
of your document.

This commit adds an autoscroll feature to the zoom scroll: if
you move outside the window while in zoom scroll mode, we keep
scrolling in the direction you were going until you let go
of the mouse button.

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoAdd press and hold support to set zoom scroll mode
William Jon McCann [Thu, 18 Jul 2013 21:35:42 +0000 (17:35 -0400)]
Add press and hold support to set zoom scroll mode

Triggering zoom scroll mode by Shift click was too much
of an easter egg. It also requires using keyboard and
mouse together, which is hard to do for many users.

Instead, we now trigger zoom scroll mode by click-and-hold
(or touch-and-hold).

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoAdd mouse pointer support to press and hold
William Jon McCann [Wed, 24 Jul 2013 23:48:11 +0000 (19:48 -0400)]
Add mouse pointer support to press and hold

The internal class GtkPressAndHold was so far only
reacting to touch events. But in most cases where
a touch-and-hold or 'long press' pattern is useful,
click-and-hold can also be used.

This patch makes GtkPressAndHold react to mouse
clicks as well.

https://bugzilla.gnome.org/show_bug.cgi?id=704703

12 years agoDepend on cairo 1.12 (bug #705215)
Benjamin Berg [Fri, 2 Aug 2013 08:58:52 +0000 (10:58 +0200)]
Depend on cairo 1.12 (bug #705215)

This is required for cairo_surface_create_similar_image.

12 years agoGtkHeaderBar: optionally add a close button
Matthias Clasen [Sat, 3 Aug 2013 23:25:26 +0000 (01:25 +0200)]
GtkHeaderBar: optionally add a close button

Add a boolean property that controls whether a window close button
will be shown in the header bar or not. Doing this in the toolkit
will ensure consistency of the visual apperance.

https://bugzilla.gnome.org/show_bug.cgi?id=702971

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 4 Aug 2013 17:54:00 +0000 (19:54 +0200)]
Updated Galician translations

12 years agorange: Remove dead assignment
Benjamin Otte [Sat, 3 Aug 2013 17:00:53 +0000 (19:00 +0200)]
range: Remove dead assignment

12 years agoStop damned-lies complaining about missing .ui/.ui.h files
Gabor Kelemen [Sun, 4 Aug 2013 14:44:36 +0000 (16:44 +0200)]
Stop damned-lies complaining about missing .ui/.ui.h files

12 years agowayland: Dispatch pending events before entering poll
Rob Bradford [Sun, 4 Aug 2013 13:36:01 +0000 (14:36 +0100)]
wayland: Dispatch pending events before entering poll

If we don't dispatch the pending events then we can enter poll with events
still requiring to be processed and which can then lead to us deadlocking
there.

12 years agowayland: Only try and process keyboard events when focussed
Rob Bradford [Sun, 4 Aug 2013 13:01:10 +0000 (14:01 +0100)]
wayland: Only try and process keyboard events when focussed

When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.

12 years agowayland: Only try and process pointer events when focussed
Rob Bradford [Sun, 4 Aug 2013 13:01:10 +0000 (14:01 +0100)]
wayland: Only try and process pointer events when focussed

When combining Clutter with GTK+ we can receive events for surfaces which in
the client side we do not have focussed.

12 years agowayland: Only process the event if it's for a GdkWindow
Rob Bradford [Sun, 4 Aug 2013 12:32:41 +0000 (13:32 +0100)]
wayland: Only process the event if it's for a GdkWindow

When we combine GTK with Clutter we will receive events for both surfaces that
we have created as well as those created by Clutter.

12 years agoUpdated Hungarian translation
Gabor Kelemen [Sun, 4 Aug 2013 12:32:29 +0000 (14:32 +0200)]
Updated Hungarian translation

12 years agoUpdated Hungarian translation
Gabor Kelemen [Sun, 4 Aug 2013 10:55:17 +0000 (12:55 +0200)]
Updated Hungarian translation

12 years agoUpdated Czech translation
Marek Černocký [Sun, 4 Aug 2013 07:26:43 +0000 (09:26 +0200)]
Updated Czech translation

12 years agothemingengine: use gtk_icon_source_get_state_wildcarded()
Cosimo Cecchi [Sun, 4 Aug 2013 07:19:03 +0000 (09:19 +0200)]
themingengine: use gtk_icon_source_get_state_wildcarded()

A recent refactor of this code missed a check for the wildcarded state
on the icon source.

12 years agoGtkTreeView: Remove a dead assignment
Matthias Clasen [Sat, 3 Aug 2013 23:04:10 +0000 (01:04 +0200)]
GtkTreeView: Remove a dead assignment

This was found by the clang static analyzer.

12 years agoWayland: Add a missing break statement
Matthias Clasen [Sat, 3 Aug 2013 22:59:41 +0000 (00:59 +0200)]
Wayland: Add a missing break statement

Found by the clang static analyzer.

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 3 Aug 2013 20:37:04 +0000 (23:37 +0300)]
Updated Lithuanian translation

12 years agoTajik translation updated
Victor Ibragimov [Sat, 3 Aug 2013 19:37:17 +0000 (00:37 +0500)]
Tajik translation updated

12 years agoRemove assertions that are no longer true
Matthias Clasen [Sat, 3 Aug 2013 16:28:45 +0000 (18:28 +0200)]
Remove assertions that are no longer true

The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 3 Aug 2013 16:22:21 +0000 (18:22 +0200)]
Updated Norwegian bokmål translation

12 years agoiconhelper: clear the surface on invalidation
Cosimo Cecchi [Sat, 3 Aug 2013 16:03:52 +0000 (18:03 +0200)]
iconhelper: clear the surface on invalidation

This was missed during the pixbuf->surface conversion, so when the state
changed we were not recreating a new surface for it.

12 years agoAdd .ui.h files to git
Matthias Clasen [Sat, 3 Aug 2013 15:22:42 +0000 (17:22 +0200)]
Add .ui.h files to git

These files are generated, so adding them to git is somewhat
icky, but it helps translators who currently can't use intltool-update
on a fresh git checkout.

12 years agox11: send monitors-changed when screen scale changes
Alexander Larsson [Sat, 3 Aug 2013 14:51:28 +0000 (16:51 +0200)]
x11: send monitors-changed when screen scale changes

12 years agox11: Update root window scale when the screen scale changes
Alexander Larsson [Sat, 3 Aug 2013 14:49:38 +0000 (16:49 +0200)]
x11: Update root window scale when the screen scale changes

12 years agoUpdate expected output for the infobar a11y test
Matthias Clasen [Sat, 3 Aug 2013 13:34:46 +0000 (15:34 +0200)]
Update expected output for the infobar a11y test

This changed due to the recent GtkInfoBar revealer changes.

12 years agoFix layout of infobar
William Jon McCann [Sat, 3 Aug 2013 12:59:40 +0000 (14:59 +0200)]
Fix layout of infobar

Make sure the close button is right aligned and centered vertically.

12 years agodemo: add a multi-line infobar example
William Jon McCann [Sat, 3 Aug 2013 10:18:54 +0000 (12:18 +0200)]
demo: add a multi-line infobar example

12 years agosearchbar: use gtk_search_bar_connect_entry() in documentation.
Christian Hergert [Sat, 3 Aug 2013 13:13:27 +0000 (15:13 +0200)]
searchbar: use gtk_search_bar_connect_entry() in documentation.

12 years agoAdd a revealer to GtkInfoBar
Matthias Clasen [Wed, 31 Jul 2013 16:40:52 +0000 (18:40 +0200)]
Add a revealer to GtkInfoBar

Make GtkInfoBar slide in and out as it is shown or hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=704334

12 years agoGtkFileChooserDefault: Remove redundancy
Matthias Clasen [Sat, 3 Aug 2013 07:03:14 +0000 (09:03 +0200)]
GtkFileChooserDefault: Remove redundancy

Don't specify packing properties for internal children.
This doesn't work unless the internal children are actually
direct children of the container (which we are about to
change for GtkInfoBar). Also, it is redundant, since we
just set the properties to the values they already have
anyway.

12 years agoBe more forgiving about child properties
Matthias Clasen [Sat, 3 Aug 2013 06:51:40 +0000 (08:51 +0200)]
Be more forgiving about child properties

Packing properties in ui files are parsed and handled by
the container, which assumes that the child is a direct
descendant. For internal children, this is inconvenient,
because we don't want to reconstruct the entire internal
structure between the container and the child in the ui
file.

It would be best to not specify packing properties
in that case, but since existing ui files do this for
GtkInfoBar and we are about to change the internal
structure of GtkInfoBar, be more forgiving here.

12 years agoRevert "Add a revealer to GtkInfoBar"
Matthias Clasen [Fri, 2 Aug 2013 15:56:31 +0000 (17:56 +0200)]
Revert "Add a revealer to GtkInfoBar"

This reverts commit 1198ffb0bc195c6044d4d0efd864ccf093d637c7.

This change needs more work, to avoid breaking existing
ui files.

12 years agoRevert "Disable primary paste by default"
Bastien Nocera [Fri, 2 Aug 2013 14:42:41 +0000 (16:42 +0200)]
Revert "Disable primary paste by default"

This reverts commit fbbcb5c01b5d171ddb1c5f5b298779cfe830c441.

We will be doing this in gnome-settings-daemon itself instead,
as some X11 based platforms using GTK+ will want to override this.

12 years agofontchooser: set the minimum size of the spinner to 1
Alberto Ruiz [Fri, 2 Aug 2013 13:56:54 +0000 (15:56 +0200)]
fontchooser: set the minimum size of the spinner to 1

12 years agofontchoser: Fix slider position update when switching from fonts with different recom...
Alberto Ruiz [Fri, 2 Aug 2013 13:51:33 +0000 (15:51 +0200)]
fontchoser: Fix slider position update when switching from fonts with different recommended sizes

12 years agogdkkeys-x11: Remove workaround code for Sun Microsystems X server
Jasper St. Pierre [Tue, 9 Jul 2013 18:50:32 +0000 (14:50 -0400)]
gdkkeys-x11: Remove workaround code for Sun Microsystems X server

Xsun is no longer shipped to customers, and Oracle/Sun's Xorg distribution
uses "Sun Microsystems" as the vendor name, so this hack is incorrect in
the more common recent cases.

12 years agogtkicontheme: check for GdkPixbuf first
Ryan Lortie [Thu, 1 Aug 2013 21:06:00 +0000 (23:06 +0200)]
gtkicontheme: check for GdkPixbuf first

We checked for G_IS_LOADABLE_ICON() before GDK_IS_PIXBUF().

Since we made GdkPixbuf implement GLoadableIcon, the special case for
pixbufs is never used, and the much much slower GLoadableIcon path is
taken instead.  Move the GdkPixbuf one to be first to fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=705320

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 2 Aug 2013 11:16:33 +0000 (13:16 +0200)]
Updated Galician translations

12 years agoMSVC builds: Enhance Binary Installation
Chun-wei Fan [Fri, 2 Aug 2013 10:47:12 +0000 (18:47 +0800)]
MSVC builds: Enhance Binary Installation

Update the gtk-install-bin property sheets so that it does not "install"
the wrong GDK DLL/LIB when building a broadway-enabled GDK
when the non-Broadway GDK had been previously built.

12 years agoTypo fix
Matthias Clasen [Fri, 2 Aug 2013 09:58:35 +0000 (11:58 +0200)]
Typo fix

12 years agobuild/win32/vs9/Makefile.am: Fix typo
Chun-wei Fan [Fri, 2 Aug 2013 09:29:23 +0000 (17:29 +0800)]
build/win32/vs9/Makefile.am: Fix typo

12 years agoAdd Visual Studio 2010 Build Support for Broadway
Chun-wei Fan [Fri, 2 Aug 2013 09:05:57 +0000 (17:05 +0800)]
Add Visual Studio 2010 Build Support for Broadway

Add the Visual Studio 2010 projects to build the GDK Broadway backend, just
like the Visual Studio 2008 project files in the last commit.  Similarly,
split up the property sheets so that they are easier to maintain and can
be made more flexible for different build types.  Also remove some unneeded
stuff from some of these items.

Also, fix the filter file completion for GTK, as a source file was excluded
for that and this was overlooked as it seemingly did not cause any trouble.

12 years agoAdd Visual Studio Build Support for Broadway
Chun-wei Fan [Fri, 2 Aug 2013 03:20:19 +0000 (11:20 +0800)]
Add Visual Studio Build Support for Broadway

-Add Visual Studio 2008 projects and pre-configured gdkconfig.h for
 Broadway builds
-Decouple the Visual Studio property sheets, to simplify maintenance and
 enhance flexibility for different builds

Visual Studio 2010 projects updates will follow later.

12 years agoTrivial rewording
Matthias Clasen [Thu, 1 Aug 2013 22:56:56 +0000 (00:56 +0200)]
Trivial rewording

12 years agoMake examples use search-changed signal
Matthias Clasen [Thu, 1 Aug 2013 22:54:00 +0000 (00:54 +0200)]
Make examples use search-changed signal

This updates the examples for the new GtkSearchEntry api.

12 years agoUpdate template api in one more place
Matthias Clasen [Thu, 1 Aug 2013 22:52:48 +0000 (00:52 +0200)]
Update template api in one more place

The example fragments that are directly embedded in the docs
were still using the old api.

12 years agoAdd a revealer to GtkInfoBar
Matthias Clasen [Wed, 31 Jul 2013 16:40:52 +0000 (18:40 +0200)]
Add a revealer to GtkInfoBar

Make GtkInfoBar slide in and out as it is shown or hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=704334

12 years agoAvoid a compiler warning
Matthias Clasen [Thu, 1 Aug 2013 08:55:18 +0000 (10:55 +0200)]
Avoid a compiler warning

12 years agoUpdated POTFILES.in
Piotr Drąg [Wed, 31 Jul 2013 17:51:12 +0000 (19:51 +0200)]
Updated POTFILES.in

12 years agogtk3-demo: Improve the infobar demo
Matthias Clasen [Wed, 31 Jul 2013 16:42:10 +0000 (18:42 +0200)]
gtk3-demo: Improve the infobar demo

Add buttons that allow to show and hide each info bar.

12 years agoUpdated Hebrew translation
Yaron Shahrabani [Wed, 31 Jul 2013 10:09:21 +0000 (13:09 +0300)]
Updated Hebrew translation

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Wed, 31 Jul 2013 09:05:11 +0000 (12:05 +0300)]
Updated Hebrew translation.

12 years agoDon't use UNIX-specific printer objects on non-UNIX
Erik van Pienbroek [Sat, 13 Jul 2013 20:54:09 +0000 (22:54 +0200)]
Don't use UNIX-specific printer objects on non-UNIX

https://bugzilla.gnome.org/show_bug.cgi?id=704173

12 years agox11: Don't crash when NULL eometry hints are set
Benjamin Otte [Wed, 31 Jul 2013 01:02:08 +0000 (03:02 +0200)]
x11: Don't crash when NULL eometry hints are set

Fixes crashers in gnome-panel.

12 years agoBug 705181: Fix annoying beeping introduced by Mac IME
Michael Hutchinson [Tue, 2 Jul 2013 23:04:36 +0000 (19:04 -0400)]
Bug 705181: Fix annoying beeping introduced by Mac IME

NSTextInputClient should not chain unhandled commands to super

(cherry picked from commit 91bcca6f395ba6d5aa5a688d6d629633bbea539f)

12 years agopost-release version bump
Matthias Clasen [Tue, 30 Jul 2013 03:55:27 +0000 (23:55 -0400)]
post-release version bump

12 years ago3.9.10
Matthias Clasen [Tue, 30 Jul 2013 03:03:33 +0000 (23:03 -0400)]
3.9.10

12 years agoX11: Fix the cut-off for too large windows
Matthias Clasen [Tue, 30 Jul 2013 00:51:39 +0000 (20:51 -0400)]
X11: Fix the cut-off for too large windows

We can only handle 2^15-1 pixels, not 2^16-1.
Pointed out by Morten Welinder.

https://bugzilla.gnome.org/show_bug.cgi?id=698758

12 years agogtkprintoperation-win32.c: Drop unneeded include
Chun-wei Fan [Mon, 29 Jul 2013 06:53:00 +0000 (14:53 +0800)]
gtkprintoperation-win32.c: Drop unneeded include

Don't include gtkstock.h as it's not really needed here, and it has been
recently deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=705060

12 years agoime: Add builtin handling of dead keys
Carlos Garnacho [Fri, 26 Jul 2013 15:45:19 +0000 (17:45 +0200)]
ime: Add builtin handling of dead keys

The IME input method has been both ignoring keypresses of
non-spacing characters (ditching these as non displayable),
and not letting IME do anything about those.

Even though, the sparse documentation on IMM/IME seems to
hint that applications can't pipe non-spacing characters to
the input method manager, and experimentation shown that
those characters are indeed handled differently than how
it'd be expected.

Then, add basic handling of dead keys on the IME input method
itself , as it's not mutually exclusive with regular keymaps
with dead keys.

https://bugzilla.gnome.org/show_bug.cgi?id=704937

12 years agolistbox: handle row sensitivity
Kalev Lember [Mon, 29 Jul 2013 09:23:58 +0000 (11:23 +0200)]
listbox: handle row sensitivity

When a row is insensitive, don't emit button press events and avoid
prelighting it.

12 years agodocs: Minor grammatical corrections.
Murray Cumming [Mon, 29 Jul 2013 09:51:25 +0000 (11:51 +0200)]
docs: Minor grammatical corrections.

12 years agoUpdate the Visual Studio Property Sheets
Chun-wei Fan [Mon, 29 Jul 2013 09:10:00 +0000 (17:10 +0800)]
Update the Visual Studio Property Sheets

"Install" the gtklistboxaccessible.h header file... it's a public header
of gtk-a11y

12 years agoAdd explicit transfer annotations to gtk_icon_view_get_cursor
Simon Feltman [Sun, 28 Jul 2013 20:16:16 +0000 (13:16 -0700)]
Add explicit transfer annotations to gtk_icon_view_get_cursor

The cell out argument to gtk_icon_view_get_cursor is a pass-through
for gtk_cell_area_get_focus_cell which is transfer none. Without
this explicit annotation, transfer full is defaulted and introspection
bindings will assume ownership of the GtkIconViews reference to the
cell, causing crashes. Additionally add explicit transfer full to
the path parameter because it is expected the caller will free the
returned memory.

https://bugzilla.gnome.org/show_bug.cgi?id=704700

12 years agoUpdate Visual Studio Property Sheets
Chun-wei Fan [Mon, 29 Jul 2013 03:22:46 +0000 (11:22 +0800)]
Update Visual Studio Property Sheets

"Install" the newly-deprecated headers accordingly and also "install" the
newly-introduced public headers

12 years agogtk3-demo: Adapt to GtkSearchEntry api changes
Matthias Clasen [Mon, 29 Jul 2013 01:51:45 +0000 (21:51 -0400)]
gtk3-demo: Adapt to GtkSearchEntry api changes

Connect to ::search-changed instead of ::changed.

12 years agoChange the way GtkSearchEntry does delayed change notification
Matthias Clasen [Mon, 29 Jul 2013 01:49:37 +0000 (21:49 -0400)]
Change the way GtkSearchEntry does delayed change notification

We add a GtkSearchEntry::search-changed signal which gets emitted
with a 150 millisecond delay. The ::change signal goes back to its
expected semantics.

https://bugzilla.gnome.org/show_bug.cgi?id=700229

12 years agoGtkSearchEntry: improve clear icon implementation
Matthias Clasen [Mon, 29 Jul 2013 00:21:28 +0000 (20:21 -0400)]
GtkSearchEntry: improve clear icon implementation

Instead of connecting to our own signal, which is generally
considered somewhat unclean, override the class handler
for the icon-release signal.

12 years agoGtkApplication: Do not assert sm_proxy != NULL in inhibit functions
Matt Barnes [Sun, 28 Jul 2013 20:09:58 +0000 (16:09 -0400)]
GtkApplication: Do not assert sm_proxy != NULL in inhibit functions

Applications have no way of finding out if a session manager proxy was
successfully created in gtk_application_startup_session_dbus(), so it's not
appropriate for certain public GtkApplication functions to be asserting the
presence of a session manager proxy as if it were a programmer error.

This affects:

   gtk_application_inhibit()
   gtk_application_is_inhibited()

If sm_proxy is NULL, the function should just return silently.

In the case of gtk_application_uninhibit(), the application should only be
calling this if it obtained a valid cookie, which implies the presence of a
session manager proxy.  I noted that with a comment.

https://bugzilla.gnome.org/show_bug.cgi?id=701365

12 years agoexample: Use declared callbacks where possible
Matthias Clasen [Sun, 28 Jul 2013 00:33:08 +0000 (20:33 -0400)]
example: Use declared callbacks where possible

Replace manual signal connections with signal handlers
declared in the ui file, where possible.

12 years agoMention of -rdynamic in GtkBuilder lookup error
Ryan Lortie [Sat, 27 Jul 2013 22:15:17 +0000 (18:15 -0400)]
Mention of -rdynamic in GtkBuilder lookup error

We toss a g_warning() if we can't find the user's signal handler.  A good chunk
of the time this will be because they didn't use -rdynamic.  Add a note about
that.

12 years agoimquartz: Fallback to slave IM context if no NSEvent exists.
Takuro Ashie [Sat, 27 Jul 2013 01:34:39 +0000 (10:34 +0900)]
imquartz: Fallback to slave IM context if no NSEvent exists.

When an application translates a key event and drop its native event
before passing to imquartz, it can't recognize the NSEvent. On this
case imquartz doesn't emit any signals such as "commit" signal so
that the application doesn't insert any text. To avoid no response,
at least imquartz should fallback to slave GtkIMContextSimple.

https://bugzilla.gnome.org/show_bug.cgi?id=694273#c27
(cherry picked from commit c064e188943ad6bd79d8476a0f53e27bfddb4a1f)

12 years agoFix broken quartz build due to deprecation of gtkstock.h
John Ralls [Sat, 27 Jul 2013 21:24:53 +0000 (14:24 -0700)]
Fix broken quartz build due to deprecation of gtkstock.h

12 years agoBug 701332 - Patch for minor glitch in NSTextInput
Ek Kato [Sat, 27 Jul 2013 20:55:39 +0000 (13:55 -0700)]
Bug 701332 - Patch for minor glitch in NSTextInput

(cherry picked from commit 43ed68aa33b8e5efde01f7ef10d081b979cd451f)

12 years agodocs: gtk_icon_theme_lookup_by_gicon_for_scale() is new
Murray Cumming [Fri, 26 Jul 2013 20:16:12 +0000 (22:16 +0200)]
docs: gtk_icon_theme_lookup_by_gicon_for_scale() is new

It was added in commit 58adb70d43dfc6a10dde5847850c8a58e0c08137 .

12 years agofix a typo in a comment in gtkwindow.c
Alexandre Quessy [Sat, 27 Jul 2013 11:12:26 +0000 (07:12 -0400)]
fix a typo in a comment in gtkwindow.c

12 years agoAnother round of template binding api changes
Matthias Clasen [Fri, 26 Jul 2013 20:29:12 +0000 (16:29 -0400)]
Another round of template binding api changes

We rename the gtk_widget_class_bind_template_child{_internal}
macros by appending a _private to their name. Otherwise, it
would be too magic to pass the 'public' names as arguments,
but affect a member of the Private struct. At the same time,

Add two new macros with the old names,
gtk_widget_class_bind_template_child{_internal} that operate
on members of the instance struct.

12 years agoSome documentation fixes
Matthias Clasen [Fri, 26 Jul 2013 18:10:37 +0000 (14:10 -0400)]
Some documentation fixes

Some incomplete renamings in the doc comments for the
template child macros.

12 years agoOne forgotten rename
Matthias Clasen [Fri, 26 Jul 2013 17:54:27 +0000 (13:54 -0400)]
One forgotten rename

12 years agoRename the widget template API
Emmanuele Bassi [Fri, 26 Jul 2013 17:49:49 +0000 (13:49 -0400)]
Rename the widget template API

The macros and functions are inconsistently named, and are not tied to
the "template" concept - to the point that it seems plausible to use
them without setting the template.

The new naming scheme is as follows:

  gtk_widget_class_bind_template_child_full
  gtk_widget_class_bind_template_callback_full

With the convenience macros:

  gtk_widget_class_bind_template_child
  gtk_widget_class_bind_template_child_internal
  gtk_widget_class_bind_template_callback

https://bugzilla.gnome.org/show_bug.cgi?id=700898
https://bugzilla.gnome.org/show_bug.cgi?id=700896

12 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 26 Jul 2013 17:34:33 +0000 (19:34 +0200)]
Updated POTFILES.skip

12 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 26 Jul 2013 17:34:24 +0000 (19:34 +0200)]
Updated POTFILES.skip

12 years agoTrivial typo fix
Matthias Clasen [Fri, 26 Jul 2013 12:48:38 +0000 (08:48 -0400)]
Trivial typo fix

12 years agowidget: Use a real offset in gtk_widget_class_automate_child
Alexander Larsson [Fri, 26 Jul 2013 12:41:09 +0000 (08:41 -0400)]
widget: Use a real offset in gtk_widget_class_automate_child

Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.

https://bugzilla.gnome.org/show_bug.cgi?id=702563

Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
12 years agotests: Make a11ytests keep going on failure and be verbose
Benjamin Otte [Fri, 26 Jul 2013 11:31:52 +0000 (13:31 +0200)]
tests: Make a11ytests keep going on failure and be verbose

12 years agostylecontext: Clear paths in gtk_render_foo()
Martin Stransky [Fri, 26 Jul 2013 11:24:53 +0000 (13:24 +0200)]
stylecontext: Clear paths in gtk_render_foo()

This ensures that existing paths are properly cleared and don't cause
spurious renderings.

https://bugzilla.gnome.org/show_bug.cgi?id=694086

12 years agotestsuite/a11y: Update infobar.txt for latest theme changes
Colin Walters [Fri, 26 Jul 2013 01:00:33 +0000 (02:00 +0100)]
testsuite/a11y: Update infobar.txt for latest theme changes

12 years agoinfobar: really make the close button hidden by default
Stefano Facchini [Thu, 25 Jul 2013 22:18:29 +0000 (00:18 +0200)]
infobar: really make the close button hidden by default

https://bugzilla.gnome.org/show_bug.cgi?id=704894

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 25 Jul 2013 21:40:55 +0000 (05:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoaction: Improve some deprecation notices
David King [Wed, 17 Jul 2013 11:32:36 +0000 (12:32 +0100)]
action: Improve some deprecation notices

Improve on some of the deprecation notices for GtkAction by linking to
other relevant API, and mentioning when there is no direct replacement.

https://bugzilla.gnome.org/show_bug.cgi?id=704392

12 years agodemo: add a close button to the info bar demo
William Jon McCann [Mon, 15 Jul 2013 19:08:10 +0000 (15:08 -0400)]
demo: add a close button to the info bar demo

https://bugzilla.gnome.org/show_bug.cgi?id=704274

12 years agoAdd an optional close button to the info bar
William Jon McCann [Mon, 15 Jul 2013 19:04:56 +0000 (15:04 -0400)]
Add an optional close button to the info bar

This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=704274

12 years agowayland: Create a cairo surface for the root window
Rob Bradford [Wed, 24 Jul 2013 17:30:19 +0000 (18:30 +0100)]
wayland: Create a cairo surface for the root window

Many parts of GTK+ assume that all windows have a cairo surface
assoicated with them. This change provides a logically 1x1 cairo surface
(respecting scale) for the root window.

https://bugzilla.gnome.org/show_bug.cgi?id=704554

12 years agoGetting started: Add docs for property actions
Matthias Clasen [Wed, 24 Jul 2013 05:43:14 +0000 (01:43 -0400)]
Getting started: Add docs for property actions

Use the just added example to add another section to the docs.

12 years agoGetting started: Add an example for property actions
Matthias Clasen [Wed, 24 Jul 2013 05:13:06 +0000 (01:13 -0400)]
Getting started: Add an example for property actions

This example demonstrates property actions and object binding.